package com.sthz.facepay.service;

import com.sthz.facepay.model.User;

/**
 * @author luli
 * @version jdk 1.8
 * @date 2019/7/12 16:11
 */
public interface UserService {
    boolean checkUser(String name, String password);

    User getUserByLoginName(String name);

    int modifyUserInfo(User user);

    User selectByPrimaryKey(Integer id);

    int modifyPassword(int id, String password);
}
